<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/inc/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>商品信息</title>
		<link type="text/css" href="/css/jquery-ui/jquery.ui.all.css" rel="stylesheet" />
		<link href="/css/common.css" rel="stylesheet" type="text/css" />
		<style type="text/css">
			body{
				font:12px/1.75 Tahoma,Arial;color:#333;
			}
		</style>
		<script type="text/javascript" src="${path }/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="/js/jquery-ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/js/jquery-ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/js/jquery-ui/jquery.ui.tabs.js"></script>
		<script type="text/javascript">
			var path="${path}";
		</script>
		<script type="text/javascript" src="${path }/js/form/jquery.form.js"></script>
		<script type="text/javascript">
			$(function() {
				$("#tabs").tabs();
			});
		</script>
	</head>
	<body>
		<!-- 前端商品基本信息 -->
		<div class="front_goods_info">
			<p>${goods.goodsName }</p>
			<div class="front_goods_img">
				<img src="/picture/show/${goods.goodsImg }" >
			</div>
			<div class="front_goods_base">
				<div>
					商品编号:${goods.goodsNo }
				</div>
				<div>
					市场价:￥${goods.marketPrice }
				</div>
				<div>
					本店价:￥${goods.shopPrice }
				</div>
				<div>
					库存:${goods.goodsStock }
				</div>
				<div>
					<a   href='/cart/add?goodsNo=${goods.goodsNo}'><img src="/images/add2cart.gif"/></a>
				</div>
			</div>
		</div>
		<!-- 前端商品详细信息 -->
		<div class="front_goods_cont">
			<div id="tabs">
				<ul>
					<li><a href="#tab1">商品详细信息</a></li>
					<li><a href="#tab2">商品评论</a></li>
					<li><a href="#tab3">商品属性</a></li>
				</ul>
				<div id="tab1" class="front_goods_cont_txt">
					${goods.goodsDesc.value }
				</div>
				<div id="tab2" class="front_goods_cont_txt">
					暂无信息
				</div>
			</div>
			
		</div>
	</body>
</html>